import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import xyz.weizhi.config.SpringConfig;
import xyz.weizhi.service.accountService;

import java.io.IOException;

/**
 * @Author milian
 * @Date 2021/9/13 0013 20:48
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = SpringConfig.class)
public class Mytest {
    @Autowired
    private accountService accountService;
    @Test
    public void testTransfer() throws IOException {
        accountService.transfer("张三","李四",50D);
    }
}
